/************************************************************************************************************************************
 *File     : fog.fx
 *Author   : cpzhang<chengpengzhang@gmail.com>
 *Date     : 2010-4-22
 *Platform : Windows XP, 32-bit, MSVC++ 2005, NVIDIA GeForce 9500 GT, 512M
 *Desc     : Effect file
***********************************************************************************************************************************/

/* effect */
technique fog
{
	pass p0
	{
		/* render states */
		pixelShader = null;
		vertexShader = null;
		fvf = XYZ | Normal;
		Lighting = true;
		NormalizeNormals = true;
		SpecularEnable = false;

		/* fog state */
		FogEnable = true;
		FogVertexMode = LINEAR;
		FogStart = 50.0f;
		FogEnd = 300.0f;
		FogColor = 0x00cccccc;
	}
}
